import Vue from "vue"
import app from "./App.vue"
import MintUI from 'mint-ui'
import VueRouter from "vue-router"
import router from "./router.js"
import VueResource from "vue-resource"
import 'mint-ui/lib/style.css'
import './lib/mui/css/mui.css'
import './lib/mui/css/icons-extra.css'
import moment from "moment"
Vue.filter("dataFormat",function(dataStr,pattern="YYYY-MM-DD HH:mm:ss"){
    return moment(dataStr).format(pattern)
})
Vue.use(MintUI)
Vue.use(VueRouter)
Vue.use(VueResource)
Vue.http.options.root="http://www.liulongbin.top:3005/"

var vm=new Vue({
    el:"#app",
    render: c=> c(app),
    router,
})